package src.origintrail;
/**
 * Class controlling the End event
 * @author cassidy
 *
 */
public class EventEnd extends Event
{
	private ModuleEnd module;

	/**
	 * Constructor for the end event
	 */
	public EventEnd(){
		module = new ModuleEnd();
	}
	/**
	 * Attempts to run the module
	 */
	@Override
	public void activate(){
		try{
			module.run();
		}catch(Exception e){

			System.out.println(e.toString());
			e.printStackTrace();
		}

	}
}
